package 蓝桥杯十二;

import java.util.Date;

//import java.sql.Date;

public class TimeTest {
		public static void main(String []args) {
			Date date1  = new Date(21,6,23,12,10);
			Date date2 = new Date(120,6,1,12,10);
			Long l1 = date1.getTime();
			Long l2 = date2.getTime();
			System.out.println(l1);
			System.out.println(l2);
			System.out.println((l2 - l1)/1000/60);
			Date date3 = new Date(l2);
			System.out.println(date3);
			System.out.println(10 % 1);
		}
}
